#ifndef __SUBSYSTEM_BED_WARS_TERRAIN_H__
#define __SUBSYSTEM_BED_WARS_TERRAIN_H__

#include "Subsystems/SubsystemTerrain.h"
#include <vector>
#include <cstdint>


namespace BedWars
{
    class BedWarsCore;
    class SubsystemBedWarsTerrain : public PocketSurvival::SubsystemTerrain
    {
    public:
        BedWarsCore *bedWaresCore = nullptr;
    public:
        SubsystemBedWarsTerrain();

        void discardTerrainModify(std::vector<Point2> &discardChunkVec);

        virtual void update(float dt) override;
        virtual void load(const nlohmann::json &json) override;
        virtual void save(nlohmann::json &json) override;

    };
    
} // namespace BedWars

#endif
